package cn.org.eshow.component.easyapi.config;

/**
 * Created by alicasagile on 16/4/11.
 */
public class Config {

    public static String appCodeKey = "2i14cf9ut75gizd4";//短信已配置
    public static String appCodeSecret = "z5ujk0zjx21jzduh";//短信已配置
    public static String url = "https://api.easyapi.com/";

    //短信模板
    public static String IDENTITY = "gM6Dp";//身份验证模板(已配置)
    public static String SIGNUP = "gM6Dp";//注册模板
    public static String PASSWORD = "gM6Dp";//变更模板
    public static String LOGIN = "gM6Dp";//登录模板

    public static String getTemplateName(String type) {
        if (type.equals("login")) {
            return LOGIN;
        } else if (type.equals("signup")) {
            return SIGNUP;
        } else if (type.equals("password")) {
            return PASSWORD;
        } else if (type.equals("identity")) {
            return IDENTITY;
        }
        return "";
    }

}
